package com.lingchen.service;

import com.lingchen.entity.Choice;

import java.util.List;

/**
 * Author    lingchen
 * Email     838878458@qq.com
 * Time      2018/2/26
 * Function  题库
 */
public interface ChoiceService {
    /**
     * 插入题库
     */
    int insertChoice(Choice... choices);

    /**
     * 获取题库
     * 随即获取的
     *
     * @param courseId 科目id
     * @param count    数量
     */
    List<Choice> selectChoice(String courseId, int count);


}
